<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{:L('jump_success_tip')}</title>
    <style>
        /*return tip*/
        .return-tip{width:600px; height:300px;margin:195px auto 200px;text-align: center;padding-top:90px;}
        .return-tip h1{font-size:18px; font-weight: normal;padding-bottom: 20px;}
        .return-tip span{color:#999999;}
        .return-tip span u{padding: 0 3px;font-size: 14px;}
        .return-tip.cucceed {background: url(../../../Public/assets/img/return-succeed.png) no-repeat top center ;}
        .return-tip.cucceed h1{color:#62be2d;}
        .return-tip.error {background: url(../../../Public/assets/img/return-error.png) no-repeat top center ;}
        .return-tip.error h1{color:#f1501a;}
        .return-tip.alert {background: url(../../../Public/assets/img/return-alert.png) no-repeat top center ;}
        /*后加样式*/
        .spinner {
            margin: 100px auto;
            width: 50px;
            height: 60px;
            text-align: center;
            font-size: 10px;
        }

        .spinner > div {
            background-color: #67CF22;
            height: 100%;
            width: 6px;
            display: inline-block;

            -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
            －moz-animation: stretchdelay 1.2s infinite ease-in-out;
            animation: stretchdelay 1.2s infinite ease-in-out;
        }

        .spinner .rect2 {
            -webkit-animation-delay: -1.1s;
            animation-delay: -1.1s;
        }

        .spinner .rect3 {
            -webkit-animation-delay: -1.0s;
            animation-delay: -1.0s;
        }

        .spinner .rect4 {
            -webkit-animation-delay: -0.9s;
            animation-delay: -0.9s;
        }

        .spinner .rect5 {
            -webkit-animation-delay: -0.8s;
            animation-delay: -0.8s;
        }

        @-webkit-keyframes stretchdelay {
            0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
            20% { -webkit-transform: scaleY(1.0) }
        }

        @keyframes stretchdelay {
            0%, 40%, 100% {
                transform: scaleY(0.4);
                -webkit-transform: scaleY(0.4);
            }  20% {
                   transform: scaleY(1.0);
                   -webkit-transform: scaleY(1.0);
               }
        }
    </style>

</head>
<body style="background:#f1f2f7">

<div class="return-tip cucceed">
    <h1>{$message}</h1>
    <div class="spinner">
        <div class="rect1"></div>
        <div class="rect2"></div>
        <div class="rect3"></div>
        <div class="rect4"></div>
        <div class="rect5"></div>
    </div>
    <span>{:L('jump_wait')}<b id='wait'><?php echo($waitSecond); ?></b>{:L('jump_seconds')}，{:L('jump_auto')}<u><a id="href" href="<?php echo($jumpUrl); ?>">{:L('jump')}</a></u></span>
</div>

<!--subfooter Str-->
<div class="sub-footer" style='text-align:center'>
    Copyright © Adexpress,All right reserved
</div>
<!--subfooter Str-->
<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                if(href&&href!="javascript:history.back(-1);"){
                    location.replace(href);
                }
                else{
                    history.back(-1);
                }
                clearInterval(interval);
            };
        }, 1000);
    })();
</script>
</body>
</html>
